{% load commonFilters %}
{% load i18n %}

{% comment %}
copyright (c) 2009, paketka@gmail.com et. al
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

	* Redistributions of source code must retain the above copyright notice,
	  this list of conditions and the following disclaimer.

	* Redistributions in binary form must reproduce the above copyright notice,
	  this list of conditions and the following disclaimer in the documentation
	  and/or other materials provided with the distribution.

	* Neither the name of the <ORGANIZATION> nor the names of its contributors
	  may be used to endorse or promote products derived from this software
 	  without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% endcomment %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	{% comment %}
	<meta name="verify-v1" content="+5d4Q+L3L2xTjjueM80uk7JJAXBtOH5F/dAssSgCqV4=" />
	{% endcomment %}
	<meta name="description" content="Přehled hlasování v parlamentu ČR"/>
	<meta name="keywords" content="poslanci, poslanec, kdo s kým, hlasování, jak hlasovali,
	parlament, český parlament, poslanecká, sněmovna, politici, zákonodárci, výsledek hlasování,
	komunisti, ods, socdem, kdu, čsl, přeběhlíci, odpadlíci, ucelený přeheld {% block keywords %} {% endblock %}"/>
	<meta name="robots" content="all"/>
	<link rel="shortcut icon" href="{{ MEDIA_URL }}/images/favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/css/style.css" />
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/css/redmond/jquery-ui-1.7.custom.css" />
	{% block rss-link %}
	<link rel="alternate" type="application/rss+xml" title="RSS-poslanci" href="{% url rss_link "poslanci" %}" />
	{% endblock %}
	{% block css-links %}
	{% endblock %}

	<script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery-1.3.2.min.js"></script>
	{% block js-links %}
	{% endblock %}

	<!-- HEAD_init -->
	<script type="text/javascript">
		{% block javascript-head %}
		{% endblock %}
		$(document).ready(function(){
		{% block document-ready %}
		{% endblock %}
		});
	</script>

	<title>{% block title %}Jakhlasovali.CZ{% endblock %}</title>
</head>

<body>
	<div id="header">
		{% block header %}
		<div class="ui-widget">
			<div class="ui-widget-header">
				<div id="logo-left">
					<a href="/"><img src="{{ MEDIA_URL }}/images/jakhlasovali.png"/></a>
				</div>
				<div id="logo-right">
					<h1>JakHlasovali.CZ</h1>
				</div>
				<div class="clear"></div>
			</div>
			<div class="ui-widget-content">
			</div>
		</div>
		{% endblock %}
	</div>
	<div id="left-sidebar">
		{% block left-sidebar %}
		<div class="ui-widget">
			<div class="ui-widget-header">
				<h1>{% trans "Kalendář hlasování" %}</h1>
			</div>
			<div class="ui-widget-content">
				<div class="container">
					{% url json.views.get_meetings_in_month dateEnd.year dateEnd.month as events %}
					{% url psp.views.show_day_polls dateEnd.year dateEnd.month dateEnd.day as eventDetails %}
					{% datepicker "meetingPicker" events eventDetails dateEnd dateStart dateEnd %}
				</div>
			</div>
		</div>
		{% endblock %}
	</div>
	<div id="content">
		{% block content %}
		{% endblock %}
	</div>
	<div class="clear"></div>
	<div id="footer" class="ui-widget">
		{% block footer %}
		{% endblock %}
		<p>
		(c) {% now "Y" %} Paketka von Gmail.com </br>
		</p>
		<p>
		<a href="http://linkuj.cz?id=linkuj" target="_blank" >
			<img src="http://linkuj.cz/img/badge.png" alt="linkuj.cz"/>
		</a>
		</p>
	</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-8593137-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
